<div class="modal-header">
    <h3 class="modal-title">{{title}}</h3>
    <i class="fa fa-close fa-2x" ng-click="cancel()"></i>
</div>
<div class="modal-body">
    <div class="meta-section" style="margin:0 0 20px 0;">
        <div class="meta-section-header" style="position:relative">
            <h4 class="meta-section-header-title">筛选：</h4>
            <div class="meta-section-header-filter">
              <div class="meta-input-section-control">
                  <div class="meta-checkbox">
                      <label class="checkbox-inline">
                          <input type="checkbox" name="area" ng-model="listCtrl.filterParams.area_choice.area01" ng-checked="listCtrl.filterParams.area_choice.area01" ng-change="changeUrl()"> 生农医药
                      </label>
                      <label class="checkbox-inline">
                          <input type="checkbox" name="area" ng-model="listCtrl.filterParams.area_choice.area02" ng-checked="listCtrl.filterParams.area_choice.area02" ng-change="changeUrl()"> 化学化工
                      </label>
                      <label class="checkbox-inline">
                          <input type="checkbox" name="area" ng-model="listCtrl.filterParams.area_choice.area03" ng-checked="listCtrl.filterParams.area_choice.area03" ng-change="changeUrl()"> 能源环保
                      </label>
                      <label class="checkbox-inline">
                          <input type="checkbox" name="area" ng-model="listCtrl.filterParams.area_choice.area04" ng-checked="listCtrl.filterParams.area_choice.area04" ng-change="changeUrl()"> 机械电子
                      </label>
                      <label class="checkbox-inline">
                          <input type="checkbox" name="area" ng-model="listCtrl.filterParams.area_choice.area05" ng-checked="listCtrl.filterParams.area_choice.area05" ng-change="changeUrl()"> 材料科学
                      </label>
                      <label class="checkbox-inline">
                          <input type="checkbox" name="area" ng-model="listCtrl.filterParams.area_choice.area06" ng-checked="listCtrl.filterParams.area_choice.area06" ng-change="changeUrl()"> 其他
                      </label>
                  </div>
              </div>
            </div>
        </div>
    </div>
    <div class="meta-section" style="margin:0;">
        <div class="meta-section-header">
            <h4 class="meta-section-header-title">数据：共 {{listCtrl.tableParams.total}} 名用户</h4>
            <div class="meta-section-header-search">
                <div class="input-group">
                    <div class="input-group-btn">
                        <button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{listCtrl.searchParams.name}} <span class="caret"></span></button>
                        <ul class="dropdown-menu">
                            <li ng-repeat="element in listCtrl.searchParams.data" ng-click="listCtrl.searchParams.changeSearchItem(listCtrl.searchConfig, listCtrl.searchParams, element)"><a>{{element}}</a></li>
                        </ul>
                    </div>
                    <input type="text" class="form-control" ng-model="listCtrl.searchParams.value" ng-keydown="listCtrl.searchParams.search($event)">
                    <span class="input-group-btn">
                  <button class="btn btn-info" type="button" ng-click="changeUrl()">搜索</button>
                </span>
                </div>
            </div>
        </div>
        <div class="meta-section-container">
            <table class="table table-condensed table-striped table-bordered meta-table">
                <thead>
                    <tr>
                        <th class="meta-word-4-td">姓名</th>
                        <th class="meta-number-11-td">联系方式</th>
                        <th>单位</th>
                        <th>职务</th>
                        <th class="meta-icon-1-td">需求</th>
                        <th class="meta-icon-1-td">合作</th>
                        <th class="meta-icon-1-td">技术</th>
                        <th class="meta-icon-1-td">方案</th>
                        <th class="meta-icon-1-td">操作</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="element in listCtrl.tableParams.data track by $index">
                        <td><a target="_blank" ui-sref="meta.permission.user.user.detail({id: element.id})">{{element.name==null?'暂无':element.name}}</a></td>
                        <td>{{element.mobile==null?'暂无':element.mobile}}</td>
                        <td>{{element.partnerInfo.organization==null?"暂无":element.partnerInfo.organization}}</td>
                        <td>{{element.partnerInfo.post==null?"暂无":element.partnerInfo.post}}</td>
                        <td><a target="_blank" ui-sref="meta.permission.demand.user.list({page: 1, search: 'publisherId', value: element.id})">{{element.demand}}</a>
                        </td>
                        <td><a target="_blank" ui-sref="meta.permission.demand.cooperation.list({page: 1, search: 'publisherId', value: element.id})">{{element.cooperation}}</a>
                        </td>
                        <td><a target="_blank" ui-sref="meta.permission.technology.technology.list({page: 1, search: 'publisherId', value: element.id})">{{element.technology}}</a>
                        </td>
                        <td><a target="_blank" ui-sref="meta.permission.technology.solution.list({page: 1, search: 'publisherId', value: element.id})">{{element.solution}}</a>
                        </td>
                        <td>
                            <i class="fa fa-user-plus fa-2x fa-blue" ng-click="selectCharge($index)"></i>
                        </td>
                    </tr>
                </tbody>
            </table>
            <div class="meta-page">
                <uib-pagination boundary-links="true" total-items="listCtrl.tableParams.total" ng-model="listCtrl.tableParams.currentPage" ng-change="changeUrl()" class="pagination-sm" previous-text="&lsaquo;" next-text="&rsaquo;" first-text="首页" last-text="尾页" items-per-page="5"
                    max-size="10"></uib-pagination>
            </div>
        </div>
    </div>
</div>
